package com.flycat.dto.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author yalei.chen
 * @Date 2017-10-18 14:41:15
 * @Since JDK 1.8
 */
@Getter
@Setter
@ToString(callSuper = true)
public class SysPermissionQuery extends PageQuery {

    @ApiModelProperty(value="主键id")
    private Integer id;

    @ApiModelProperty(value="名称")
    private String name;

    @ApiModelProperty(value="描述")
    private String descripion;

    @ApiModelProperty(value="资源地址")
    private String url;

    @ApiModelProperty(value="是否为父节点, 0:否；1:是")
    private Byte isParent;

    @ApiModelProperty(value="父资源id")
    private Integer pid;

    @ApiModelProperty(value="类型 1、菜单功能，2、权限功能")
    private Byte type;


}
